package com.ss.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * 节点通过的类型。
 * @Author: 夏十七
 * @Date: 2019/7/24 21:46
 * @Version 1.0
 */
public enum SummerNodeType {

    DEFAULT(1,"通过到下一节点"),
    NODE(2,"可跨节点"),
    END(3,"可跨越点，可直接通过");

    SummerNodeType(int id, String name){
        this.id = id;
        this.name = name;
    }

    @EnumValue
    private final int id;
    private final String name;

    public int getId() {
        return id;
    }
}
